//学习随机 0.6782889255188429
for (let i = 0; i < 10; i++) {
    //console.log(Math.random())
    //num 随机1或0  Math.round()
    //let num = Math.round(Math.random())

    //0-5 之间的随机整数
    //let num = Math.round(Math.random()*5)
    //0.0000000001 * 5 0.00000005  0
    //0.9999999992 * 5 4.52424234  5

    //10-20 之间的随机整数  a-b  Math.round(Math.random()*(b-a))+a
    let num = Math.round(Math.random()*(20-10))+10

    //红1-33 6 蓝 1-16 1
    console.log(num)
}


